import { ArrowLeft } from '@react-vant/icons'
import { history } from 'umi'

export default function PageBack() {
  return (
    <button onClick={() => history.back()} type="button" className="absolute top-4 left-0 z-10 flex items-center text-xs text-white bg-[#16306b] px-2 py-1 rounded-r-lg">
      <ArrowLeft />
      返回
    </button>
  )
}
